﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Process
{
    /// <summary>
    /// 工序信息更新命令类
    /// </summary>
    public class UpdateProcessCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 工序描述
        /// </summary>
        public string Processdesc { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessType { get; set; }

        /// <summary>
        /// 报工模式
        /// </summary>
        public string Reporting { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateName { get; set; }
    }
}
